package com.monkey.servicedriveruser.controller;

import com.monkey.internalcommon.dto.ResponseResult;
import com.monkey.servicedriveruser.service.DriverUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tao
 * @date 2022/7/26 00:17
 */
@RestController
public class TestController {

    @Autowired
    private DriverUserService driverUserService;

    @GetMapping("/test")
    public ResponseResult test() {
        return driverUserService.testGetDriverUser();
    }
}
